
QPushButton#ButtonMin:hover,
QPushButton#ButtonMax:hover,
QPushButton#ButtonRestore:hover,
QPushButton#ButtonSetting:hover {
    background-color: rgba(255, 255, 255, 0.172);
}

QPushButton#ButtonMin:pressed,
QPushButton#ButtonMax:pressed,
QPushButton#ButtonRestore:pressed,
QPushButton#ButtonSetting:pressed {
    background-color: rgba(200, 200, 200, 0.254);
    margin: 2px;
    width: 15px;
    height: 15px;
}

/*最小化按钮*/
QPushButton#ButtonMin {
    border-image: url(:resource/img/Title/min.png)0 0 0 0;
}

/*最大化按钮*/
QPushButton#ButtonMax {
    border-image: url(:resource/img/Title/max.png)0 0 0 0;
}

/*还原按钮*/
QPushButton#ButtonRestore {
    border-image: url(:resource/img/Title/restore.png)0 0 0 0;
}


/*设置按钮*/
QPushButton#ButtonSetting {
    border-image: url(:resource/img/Title/setting.png)0 0 0 0;
}

/*关闭按钮*/
QPushButton#ButtonClose {
    border-image: url(:resource/img/Title/close.png)0 0 0 0;
}

QPushButton#ButtonClose:hover {
    border-image: url(:resource/img/Title/close.png)0 0 0 0;
    background-color: red;
    border-top-right-radius: 4px;
}

QPushButton#ButtonClose:pressed {
    border-image: url(:resource/img/Title/close.png)0 0 0 0;
    background-color: rgb(204, 0, 0);
    border-top-right-radius: 4px;
}